package com.crane.oss.properties;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 阿里云OSS配置参数
 *
 * @author tyh
 */
@Component
@ConfigurationProperties(prefix = "aliyun.oss.config")
@Getter
@Setter
@ToString
public class AliyunOSSProperties {

    private String bucketName;

    private String endpoint;

    private String accessKeyId;

    private String accessKeySecret;

    private String imagePath;

    private String videoPath;

    private String filePath;

}
